package com.jpa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jpa.dao.PermissionDao;
import com.jpa.pojo.Permission;
import com.jpa.service.PermissionService;

@Service
public class PermissionServiceImpl implements PermissionService {
	
	@Autowired
	PermissionDao permissionDao;

	@Override
	public List<Permission> findAll() { 
		return (List<Permission>) permissionDao.findAll();
	}
	 

}
